//
//  XGL_CustomWebViewController.swift
//  XGamesLive
//
//  Created by ios on 2024/6/12.
//

import UIKit

class XGL_CustomWebViewController: UIViewController,CustomNavgationBar{
    
    var webview: MXWebView!
    var navTitle: String = ""
    var url: String = ""

    override func viewDidLoad() {
        super.viewDidLoad()
        self.createCustomBackgroundView()
        self.webview = MXWebView().then({ make in
            make.layoutType = .Fixed
        })
        self.view.addSubview(self.webview)
        self.webview.snp.makeConstraints { make in
            make.width.centerX.equalToSuperview()
            make.top.equalTo(PanNavibarH)
            make.bottom.equalTo(-BottomHeight)
        }
        self.creatClearNavigationBar(title: self.navTitle)
        
        self.webview.creatLinkWeb(content: self.url, hudTitle: "")
    }


}
